package com.ruoyi.scheme.service.decision;

import com.ruoyi.scheme.pojo.Plant;
import com.ruoyi.scheme.pojo.PlatFormAndSlopeEntity;

/**
 * Exp4j 计算服务接口
 *利用exp4j库执行数学表达式，进行定量措施的计算
 */
public interface Exp4jCalculationService {

    /**
     * 计算植被种植密度
     * @param plant
     * @param platFormAndSlopeEntity
     * @return
     */
    Double calculatePlantDensity(Plant plant, PlatFormAndSlopeEntity platFormAndSlopeEntity);
}
